def sign(x):
  if x<0:
      return -1
  elif x==0:
      return 0
  else:
      return 1





x=eval(input())
print(sign(x))

